package com.alinesno.cloud.base.logger.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * <p>
 * 业务日志
 * </p>
 *
 * @author WeiXiaoJin
 * @since 2020-01-26 09:30:11
 */
@Entity
@Table(name="log_business")
public class LogBusinessEntity extends BaseWatcherEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 业务描述
     */
	@Column(name="business_desc")
	private String businessDesc;
    /**
     * 业务参数
     */
	@Column(name="business_params")
	private String businessParams;
    /**
     * 业务参数
     */
	@Column(name="business_key_work")
	private String businessKeyWork;
    /**
     * 业务状态
     */
	@Column(name="business_status")
	private String businessStatus;
    /**
     * 返回值
     */
	@Column(name="return_value")
	private String returnValue;
    /**
     * 操作类型
     */
	@Column(name="operation_type")
	private String operationType;
    /**
     * before_balance
     */
	@Column(name="before_balance")
	private String beforeBalance;
    /**
     * 操作后账户余额
     */
	@Column(name="after_balance")
	private String afterBalance;
    /**
     * 操作时间
     */
	@Column(name="business_time")
	private Integer businessTime;
    /**
     * 操作员
     */
	@Column(name="operation_id")
	private String operationId;
    /**
     * 业务代码
     */
	@Column(name="business_code")
	private String businessCode;


	public String getBusinessDesc() {
		return businessDesc;
	}

	public void setBusinessDesc(String businessDesc) {
		this.businessDesc = businessDesc;
	}

	public String getBusinessParams() {
		return businessParams;
	}

	public void setBusinessParams(String businessParams) {
		this.businessParams = businessParams;
	}

	public String getBusinessKeyWork() {
		return businessKeyWork;
	}

	public void setBusinessKeyWork(String businessKeyWork) {
		this.businessKeyWork = businessKeyWork;
	}

	public String getBusinessStatus() {
		return businessStatus;
	}

	public void setBusinessStatus(String businessStatus) {
		this.businessStatus = businessStatus;
	}

	public String getReturnValue() {
		return returnValue;
	}

	public void setReturnValue(String returnValue) {
		this.returnValue = returnValue;
	}

	public String getOperationType() {
		return operationType;
	}

	public void setOperationType(String operationType) {
		this.operationType = operationType;
	}

	public String getBeforeBalance() {
		return beforeBalance;
	}

	public void setBeforeBalance(String beforeBalance) {
		this.beforeBalance = beforeBalance;
	}

	public String getAfterBalance() {
		return afterBalance;
	}

	public void setAfterBalance(String afterBalance) {
		this.afterBalance = afterBalance;
	}

	public Integer getBusinessTime() {
		return businessTime;
	}

	public void setBusinessTime(Integer businessTime) {
		this.businessTime = businessTime;
	}

	public String getOperationId() {
		return operationId;
	}

	public void setOperationId(String operationId) {
		this.operationId = operationId;
	}

	public String getBusinessCode() {
		return businessCode;
	}

	public void setBusinessCode(String businessCode) {
		this.businessCode = businessCode;
	}


	@Override
	public String toString() {
		return "LogBusinessEntity{" +
			"businessDesc=" + businessDesc +
			", businessParams=" + businessParams +
			", businessKeyWork=" + businessKeyWork +
			", businessStatus=" + businessStatus +
			", returnValue=" + returnValue +
			", operationType=" + operationType +
			", beforeBalance=" + beforeBalance +
			", afterBalance=" + afterBalance +
			", businessTime=" + businessTime +
			", operationId=" + operationId +
			", businessCode=" + businessCode +
			"}";
	}
}
